package com.heeexy.example.dao;

import com.alibaba.fastjson.JSONObject;
import com.heeexy.example.entity.OperationLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OperationLogDao {
    /*
    * 通过账号Id查询操作日志
    * */
    List<JSONObject>  findByStuUId(@Param("uId") Integer uId);

    /*
    * 添加日志
    * */
    int insert(OperationLog operationLog);
}
